package com.lgh.hotel.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.lgh.hotel.dao.pojo.Guest;
import com.lgh.hotel.dao.pojo.Table;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class TimingService {



    @Autowired
    GuestService guestService;



    @Autowired
    TableServer tableServer;



    public void checkOut(){

        //清理过期住户
        guestService.findEndTime();

    }


}
